﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.ServiceModel;
using System.Runtime.Serialization;

namespace Contract
{
    
    [Serializable]
    [MessageContract]
   public class MyGroup
    {
        public MyGroup()
        {
            GroupID = "";
            GroupName ="";
            Property = "";
            CreateTime = "";
            OwnerPCN = "";
        }

        public MyGroup(string groupid,string groupname,string property,string createTime, string ownerPCN)
        {
           GroupID = groupid;
            GroupName = groupname;
           Property = property;
            CreateTime = createTime;
            OwnerPCN = ownerPCN; 
        }

       [MessageHeader(MustUnderstand = true)]
        public string GroupID { get; set; }
        [MessageHeader(MustUnderstand = true)]
        public string GroupName { get; set; }
       [MessageHeader(MustUnderstand=true)]
       public string Property { get; set; }
        [MessageHeader(MustUnderstand = true)]
        public string CreateTime { get; set; }
        [MessageHeader(MustUnderstand = true)]
        public string OwnerPCN { get; set; }

    }

    
}
